import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// flexible.js
// import "lib-flexible/flexible.js";

// normalize.css
import "normalize.css";

// animate.css
// import "animate.css";

// default passive
// import "default-passive-events";

// Vconsole
// import Vconsole from "vconsole";
// const vc = new Vconsole();
// Vue.use(vc);

// element-ui
import "element-ui/lib/theme-chalk/index.css";
import { Message } from "element-ui";

// vant-ui
import "vant/lib/toast/style";
import Toast from "vant/lib/toast";
Vue.use(Toast);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  beforeCreate() {
    Vue.prototype.$message = Message;
  },
  render: (h) => h(App),
}).$mount("#app");
